Skip to content

defender: fix no vulnerabilities check#12448

Merged
mtesauro merged 1 commit into
DefectDojo:bugfixfrom
valentijnscholten:defender-fix-folder-check
May 15, 2025
Merged

defender: fix no vulnerabilities check#12448
mtesauro merged 1 commit into
DefectDojo:bugfixfrom
valentijnscholten:defender-fix-folder-check

Conversation

@valentijnscholten

@valentijnscholten valentijnscholten commented May 14, 2025

Copy link
Copy Markdown
Member

The check to bail out early expects a vulnerabilities/ folder entry to always be present in the zip file if there are files in that folder. We've seen that this is not always the case as some zips do not contain entries for folders, only entries for actual files.
This PR changes the "bail out check" to work well in both scenario's.

Raised by user on Slack: https://owasp.slack.com/archives/C2P5BA8MN/p1747126211915059

@dryrunsecurity

Copy link
Copy Markdown

DryRun Security

This pull request contains a low-confidence finding related to potential information disclosure through verbose logging in the MS Defender parser, which could inadvertently reveal internal system details that might assist an attacker in reconnaissance efforts.

💭 Unconfirmed Findings (1)
Vulnerability Potential Information Disclosure through Verbose Logging
Description Located in dojo/tools/ms_defender/parser.py, this finding indicates that debug logging could expose internal directory structure or file processing details, potentially providing attackers with insights into the parser's internal workings and aiding system reconnaissance

All finding details can be found in the DryRun Security Dashboard.

@valentijnscholten

Copy link
Copy Markdown
Member Author

@manuel-sommer Could you review if with this PR the code still achieves the goal of your earlier PR?

@valentijnscholten valentijnscholten added this to the 2.46.3 milestone May 14, 2025
@Maffooch Maffooch requested review from dogboat and hblankenship May 14, 2025 17:14

@manuel-sommer manuel-sommer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for the ping, works as expected.

@mtesauro mtesauro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@mtesauro mtesauro merged commit bae01df into DefectDojo:bugfix May 15, 2025
76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants